﻿@*//实践作业6.2*@
@model T6._1.Models.Sysuser
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Login</title>
</head>
<body>
    <div>
        @using (Html.BeginForm())
        {
            <h1>管理员账户登录</h1>
            <span style="color:red;">@Html.ValidationSummary(true)</span>
            <fieldset>
                <legend>"登录"表单</legend>
                <ul>
                    <li>
                        @Html.LabelFor(m=>m.username)
                        @Html.TextBoxFor(m=>m.username)
                        @Html.ValidationMessageFor(m=>m.username)
                    </li>

                    <li>
                        @Html.LabelFor(m => m.pwd)
                        @Html.PasswordFor( m => m.pwd)
                        @Html.ValidationMessageFor( m => m.pwd)
                    </li>
                </ul>
                <input type="submit" value="登录" />
            </fieldset>
        }
    </div>
</body>
</html>
